﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="H2.NET.Web.Workflow.Initiate"
    CodeBehind="Initiate.aspx.cs" %>

<div class="pageHeader">
    <form id="Form1" onsubmit="return navTabSearch(this);" action="Workflow/Initiate.aspx" method="post" runat="server">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    <%=clsCmm.getTextValue("frm_initiate_txtProcess")%>
                </td>
                <td>
                    <asp:dropdownlist id="drpProcess" runat="server" width="200px"></asp:dropdownlist>
                </td>
                <td>
                    <%=clsCmm.getTextValue("frm_initiate_txtSummary")%>
                </td>
                <td>
                    <asp:TextBox ID="txtSummary" runat="server" Width="194px"></asp:TextBox>
                </td>
            </tr>
        </table>
        <div class="subBar">
            <span class="info_clear">符合条件的记录，共有 <strong><%=count%></strong> 条。</span>
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                <%=clsCmm.getTextValue("frm_initiate_btnSearch")%></button></div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    </form>
</div>
<div class="pageContent">
    <table class="table" layoutH="88" style="width:100%;">
        <thead>
            <tr>
                <th width="30">序号</th>
                <th width="100" align="left"><%=clsCmm.getTextValue("frm_initiate_gv_no")%></th>
                <th width="200" align="left"><%=clsCmm.getTextValue("frm_initiate_gv_process_name")%></th>
                <th width="400" title'<%=clsCmm.getTextValue("frm_initiate_gv_summary")%>'><%=clsCmm.getTextValue("frm_initiate_gv_summary")%></th>
                <th width="40" align="center"><%=clsCmm.getTextValue("frm_initiate_gv_process_version")%></th>
            </tr>
        </thead>
        <tbody>
        <asp:repeater id="gvInitiate" runat="server">
        <ItemTemplate>
            <tr rel='<%# Eval("taskid") %>' target="selectedId" style="height: 25px;line-height: 25px;">
                <td class="fixedcol"><%# Container.ItemIndex + 1%></td>
                <td><%# Eval("processno")%></td>
                <td><a href="javascript:void(0);" onclick="<%#Eval("openform")%>" title='<%=clsCmm.getTextValue("frm_alt_open")%>'><%# GetCache(Eval("processname").ToString()) %></a></td>
                <td><%# Eval("summary")%></td>
                <td><%# Eval("processversion")%></td>
            </tr>
        </ItemTemplate>
        </asp:repeater>
        </tbody>
    </table>
</div>
